#! /bin/bash

# case $1 in
#     start)
#         echo "program start"
#         ;;
#     stop)
#         echo "program stop"
#         ;;
#     restart)
#         echo "program restart"
#         ;;
#     *)
#         echo "Usage: $0 {start|stop|restart}"
#         ;;
# esac

arr=`ls ./`
echo ${arr[@]}

case $1 in
    start)
        echo "program start"
        ;;
    stop)
        echo "program stop"
        ;;
    restart)
        echo "program restart"
        ;;
    *)
        echo "Usage: $0 {start|stop|restart}"
        ;;
esac